<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <title></title>
    <link type="text/css" href="/css/core.css" rel="stylesheet"/>
    <link type="text/css" href="/layui/css/layui.css" rel="stylesheet">
    <link type="text/css" href="/css/main/module/cardbox/cardbox.css" rel="stylesheet">
</head>
<body>
<div id="all">
    <div th:include="main/main_h :: main_head"></div>
    <div id="core">
        <div id="main">
            <div id="search-bar">
                <input type="text" id="search-name" placeholder="输入名称...">
                <select id="search-type">
                    <option value="">请选择类型</option>
<!--                    <option th:each="cardType : ${cardTypeList}" th:value="${cardType.card_typeid}" th:text="${cardType.card_typename}"></option>-->
                </select>
                <button id="search-button" onclick="ss()">搜索</button>
            </div>
            <div class="shelf">
                <div class="decoration" th:each="card : ${cardList}">
                    <div class="card" th:attr="cardid=${card.card_id},front_img=${card.card_front_img.file_path},back_img=${card.card_back_img.file_path},hwbl=${card.hwbl}" onclick="showcard(this)">
                        <img class="card_img" th:src="${card.card_front_img.file_path}">
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script src="/js/gj/jquery-3.5.1.min.js"></script>
<script src="/layui/layui.js"></script>
<script src="/js/main/module/cardbox/cardbox.js"></script>
</html>